package com.yimils.core.sys.vo;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import java.util.List;

@Data
public class DeptVo {
    private List<Node> dept;

    @Data
    public static class Node {
        private Long id;
        private Long parentId;
        private String name;
        private Integer sort;
        @JsonInclude(JsonInclude.Include.NON_NULL)
        private List<Node> children;
    }
}
